package com.evildog.workspace.invest.application.service;

import com.evildog.workspace.dependencies.mybatis.object.QueryConditionDTO;

import com.evildog.workspace.common.object.PageQuery;
import com.evildog.workspace.common.result.PagedResult;
import com.evildog.workspace.invest.application.bo.BudgetPageBO;
import com.evildog.workspace.invest.application.bo.BudgetListBO;
import com.evildog.workspace.invest.application.bo.BudgetBO;
import com.evildog.workspace.invest.application.dto.BudgetPageDTO;
import com.evildog.workspace.invest.application.dto.BudgetListDTO;
import com.evildog.workspace.invest.application.dto.BudgetDTO;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import com.evildog.workspace.invest.application.entity.Budget;

/**
 * <p>
 * budget Service
 * </p>
 *
 * @author evildog
 * @since 2020-08-06
 */
public interface BudgetService extends IService<Budget> {

    /**
    * 自定义分页
    */
    PagedResult<BudgetPageBO> getPageList(PageQuery query, List<QueryConditionDTO> queryConditions, BudgetPageDTO pageDTO);

    /**
    * 获取List
    */
    List<BudgetListBO> getList(List<QueryConditionDTO> queryCondition, BudgetListDTO dto);

    /**
    * 获取详情
    */
    BudgetBO getDetailById(Long id);

    /**
    * 更新
    */
    boolean updateById(Long id, BudgetDTO param);

    /**
    * 保存
    */
    boolean save(BudgetDTO param);
}
